package com.ynet.middleground.riskmanage.bean.hangxin;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author songyf
 * @description 获取开票结果参数信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Fpxmxx", description = "Fpxmxx")
public class Fpxmxx implements Serializable {

    private static final long serialVersionUID = -574041673507274001L;

    @XStreamImplicit(itemFieldName = "FPXM")
    @ApiModelProperty(value = "详细信息", notes = "详细信息", required = true)
    private List<Fpxm> fpxm;

    @XStreamAsAttribute
    @XStreamAlias("COUNT")
    @ApiModelProperty(value = "数量", notes = "数量", required = true)
    private String count;
}
